<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ACER
  Date: 2017/6/13
  Time: 14:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body style="background: rgba(180, 248, 128, 0.77)">
<jsp:include page="/index.jsp"></jsp:include>

<table align="center" style="font-size: 25px" border="1px" width="50%">

  <tr align="center">

    <td>学号</td>
    <td>${studentCourse.student.studentNo}</td>

  </tr>
<tr align="center">
  <td>姓名</td>
  <td>${studentCourse.student.studentName}</td>
</tr>

  <tr align="center">
    <td>系别</td>
    <td>${studentCourse.student.studentDept}</td>
  </tr>

<tr align="center">
  <td>所选课程</td>
  <td>${studentCourse.courseList[0].courseName}</td>
</tr>

<tr align="center">
  <td>课程学分</td>
  <td>${studentCourse.courseList[0].courseCredit}</td>
</tr>

<tr align="center">
  <td>成绩</td>
  <td>

    <form action="${pageContext.request.contextPath}/sc/update" method="post">

      <input type="text" name="grade" value="${studentCourse.grade}"/>
      <br/>
      <br/>
      <input  style="display: none" type="text" name="scId" value="${studentCourse.scId}"/>
      <input type="submit" value="修改"/>

    </form>
  </td>

</tr>



</table>


</body>
</html>
